import Mock from 'mockjs'

Mock.mock(/^\/api\/getGoodsList/, 'get', {
  code: 200,
  message: '请求成功',
  'list|10': [
    {
      id: '@increment(1)',
      name: '@cword(2,5)',
      price: '@natural(1,50)',
      count: '@natural(100, 999)'
    }
  ]
})
